package top.wilbert.collegelink.common.constant;/**
 * @author augus
 * @create 2023-03-10-15:28
 */

/**
 * @ClassName:PageConstant
 * @Description:
 * @author Augus
 * @date 2023/3/10 15:28
 * @Version 1.0
 **/
public class PageConstant {
    /**
     * 当前页码
     */
    public static final String PAGE_NUM = "current";
    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "size";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "field";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     * 默认当前页面
     */
    public static final int PAGE_NUM_DEFAULT = 1;
    /**
     * 默认分页大小
     */
    public static final int PAGE_SIZE_DEFAULT = 10;
    /**
     * 默认排序字段
     */
    public static final String ORDER_FIELD_DEFAULT = "create_time";
    /**
     * 默认排序方向
     */
    public static final String PAGE_ORDER_DEFAULT = "desc";
}
